package main
import (
	"fmt"
)
type order struct {
	ordId int
	customerId int
}
type employee struct {
	name string
	id int
	address string
	salary int
	country string
}
func createQuery(o order) string {
	i := fmt.Sprintf("insert into order values(%d, %d)", o.ordId, o.customerId)
	return i
}

//  34. 反射  反射就是程序运行时检查变量和值，求出他们的类型
func main(){
	i := 10
	fmt.Printf("%d %T\n", i, i)

	o := order{ordId: 1, customerId: 1111}
	fmt.Println("o= ", o)
	fmt.Println("createQuery= ", createQuery(o))

}
